/* 
 * File:   audio_device_dialog_widget.h
 * Author: ufk
 *
 * Created on April 1, 2014, 10:29 AM
 */

#ifndef AUDIO_DEVICE_DIALOG_WIDGET_H
#define	AUDIO_DEVICE_DIALOG_WIDGET_H

#ifdef	__cplusplus
extern "C" {
#endif

    
#include <gtk-3.0/gtk/gtk.h>
    
#define AUDIO_DEVICE_DIALOG_WIDGET_TYPE (audio_device_dialog_widget_get_type())
#define AUDIO_DEVICE_DIALOG_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), AUDIO_DEVICE_DIALOG_WIDGET_TYPE, AudioDeviceDialogWidget))
GType           audio_device_dialog_widget_get_type    (void);

typedef struct _audio_device_dialog_widget AudioDeviceDialogWidget;
typedef struct _audio_device_dialog_widget_class AudioDeviceDialogWidgetClass;

struct _audio_device_item {
    char *server_name;
    char *device_name;
    char *device_desc;
    gboolean is_available;
};

typedef struct _audio_device_item audio_device_item;

void audio_device_item_free(audio_device_item **device_items);

AudioDeviceDialogWidget     *audio_device_dialog_widget_new         (audio_device_item **device_items);        


#ifdef	__cplusplus
}
#endif

#endif	/* AUDIO_DEVICE_DIALOG_WIDGET_H */

